﻿<UserControl x:Class="Kokomo.Environment.Hosting.OptionsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:env="clr-namespace:Kokomo.Environment"
			 xmlns:kui="xaml://kokomo/ui"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
			 >
	<Grid>
		<TabControl>
			<TabItem Header="{x:Static env:Messages.FontsAndColors}">
				
			</TabItem>
			<TabItem Header="{x:Static env:Messages.ThemesTitle}">
				<Grid>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="100"/>
						<ColumnDefinition Width="6"/>
						<ColumnDefinition Width="*"/>
					</Grid.ColumnDefinitions>

					<ListBox
						ItemsSource="{Binding Themes}"
						SelectedItem="{Binding SelectedTheme}"
						/>

					<GridSplitter
						Grid.Column="1"
						ResizeBehavior="PreviousAndNext"
						ResizeDirection="Columns"
						/>

					<kui:BindableResourceElement
						Grid.Column="2"
						ResourcesBinding="{Binding ThemeResources}"
						>
						<Border
							Background="{DynamicResource {x:Static env:EditorStyleKeys.WorkspaceBackgroundBrushKey}}"
							>
							<kui:TabbedDocumentView>
								<kui:DocumentItem
									Title="Document1"
									>
									<Border Style="{DynamicResource {x:Static env:EditorStyleKeys.SectionBorderStyleKey}}"/>
								</kui:DocumentItem>
							</kui:TabbedDocumentView>
						</Border>
					</kui:BindableResourceElement>
				</Grid>
			</TabItem>
		</TabControl>
	</Grid>
</UserControl>
